import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Router from './router/index'
// 由于 antd 组件的默认文案是英文，所以需要修改为中文
import zhCN from 'antd/lib/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
import 'antd/dist/antd.css';
import store from './store/index'
import { Provider } from 'react-redux'

import { ConfigProvider } from 'antd';
moment.locale('zh-cn');
ReactDOM.render(
  <Provider store={store}>
    <ConfigProvider locale={zhCN}>
      <Router />
    </ConfigProvider>
  </Provider>
  ,
  document.getElementById('root')
);


